package org.xiangxji.snippets.analysis.timer;

import java.util.Date;
import java.util.Timer;

import org.xiangxji.snippets.data.AnalysisTask;

public class TimerUtil {
	
	@SuppressWarnings("deprecation")
	public static void main(String[] args) {
		Timer t = new Timer();
		Date td = new Date(System.currentTimeMillis());
		Date date1 = new Date(td.getYear(), td.getMonth(), td.getDate(), 20, 37, 0);
//		t.schedule(new ImportTask(29,8), date1);
		t.schedule(new AnalysisTask(), date1);
	}

}
